﻿using B.S.ProductionProject.Domain;
using B.S.ProductionProject.ErrorCode;
using MediatR;

namespace B.S.ProductionProject.Read.WebAPI.Applications.Commands.ProductionPlanningCommand
{
    public class GetProductionPlanningCommand : IRequest<APIResult<APIPaging<ProductionPlanning>>>
    {
        public int PageIndex { get; set; }
        public int PageSize { get; set; }

        /// <summary>
        /// 计划主题
        /// </summary>
        public string? DocumentSubject { get; set; }
        /// <summary>                       
        /// 计划编号
        /// </summary>
        public string? DocumentNo { get; set; }
        /// <summary>
        /// 关联项目
        /// </summary>
        public string? AssociatedItemNumber { get; set; }
        /// <summary>
        /// 生成订单状态
        /// </summary>
        public bool? AutomaticOrderGeneration { get; set; }
        /// <summary>
        /// 添加人员
        /// </summary>
        public string? DocumentMaker { get; set; }
        /// <summary>
        /// 添加起始日期
        /// </summary>
        public DateTime? DocumentationFriDate { get; set; }
        /// <summary>
        /// 添加截止日期
        /// </summary>
        public DateTime? DocumentationEndDate { get; set; }

    }
}
